.class public Lcom/estrongs/android/biz/cards/cardfactory/d;
.super Ljava/lang/Object;
.source "CmsCardClickUtil.java"


# direct methods
.method public static a(Ljava/lang/String;)Ljava/lang/String;
    .locals 2

    const-string v0, "clean_result"

    .line 52
    invoke-virtual {v0, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string p0, "clean"

    return-object p0

    :cond_0
    const-string v0, "analysis"

    .line 53
    invoke-virtual {v0, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    return-object v0

    :cond_1
    const-string v0, "home_page_feed"

    .line 54
    invoke-virtual {v0, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_2

    const-string p0, "home"

    return-object p0

    :cond_2
    const-string p0, ""

    return-object p0
.end method

.method private static a(Landroid/app/Activity;Les/yg;Landroid/view/View;)V
    .locals 4

    .line 55
    instance-of v0, p2, Landroid/widget/TextView;

    if-eqz v0, :cond_4

    invoke-virtual {p1}, Les/yg;->a()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/biz/cards/cardfactory/e;->g(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_1

    .line 56
    :cond_0
    invoke-virtual {p1}, Les/yg;->a()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/biz/cards/cardfactory/e;->i(Ljava/lang/String;)V

    const/4 v0, 0x0

    .line 57
    invoke-virtual {p2, v0}, Landroid/view/View;->setClickable(Z)V

    .line 58
    check-cast p2, Landroid/widget/TextView;

    .line 59
    invoke-virtual {p2}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    .line 60
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_1

    const-string v0, "0"

    :cond_1
    const-string v1, ","

    const-string v2, ""

    .line 61
    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    .line 62
    invoke-static {v0}, Ljava/lang/Long;->valueOf(Ljava/lang/String;)Ljava/lang/Long;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v0

    const-wide/16 v2, 0x1

    add-long/2addr v0, v2

    .line 63
    invoke-static {v0, v1}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/biz/cards/cardfactory/e;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 64
    instance-of v1, p1, Les/eh;

    if-eqz v1, :cond_2

    .line 65
    move-object v1, p1

    check-cast v1, Les/eh;

    .line 66
    invoke-virtual {v1, v0}, Les/eh;->b(Ljava/lang/String;)V

    goto :goto_0

    .line 67
    :cond_2
    instance-of v1, p1, Les/fh;

    if-eqz v1, :cond_3

    .line 68
    move-object v1, p1

    check-cast v1, Les/fh;

    .line 69
    invoke-virtual {v1, v0}, Les/fh;->b(Ljava/lang/String;)V

    .line 70
    :cond_3
    :goto_0
    invoke-static {p2, v0}, Lcom/estrongs/android/biz/cards/cardfactory/e;->a(Landroid/widget/TextView;Ljava/lang/String;)V

    .line 71
    invoke-static {p0, p2}, Lcom/estrongs/android/biz/cards/cardfactory/e;->a(Landroid/app/Activity;Landroid/widget/TextView;)V

    const/4 p0, 0x0

    .line 72
    invoke-static {p1, p0}, Lcom/estrongs/android/biz/cards/cardfactory/i;->a(Les/yg;Lcom/estrongs/android/biz/cards/cardfactory/b;)V

    :cond_4
    :goto_1
    return-void
.end method

.method public static a(Lcom/estrongs/android/biz/cards/cardfactory/CmsCardBaseAdapter;Landroid/app/Activity;Landroid/view/View;ILes/yg;Ljava/lang/String;)V
    .locals 2

    .line 1
    invoke-virtual {p4}, Les/yg;->b()Ljava/lang/String;

    move-result-object p0

    const/4 v0, 0x2

    if-eq p3, v0, :cond_3

    const/4 v1, 0x3

    if-ne p3, v1, :cond_0

    goto :goto_0

    .line 2
    :cond_0
    invoke-static {p5}, Lcom/estrongs/android/biz/cards/cardfactory/e;->f(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_f

    .line 3
    instance-of p0, p4, Lcom/estrongs/android/pop/app/messagebox/info/c;

    if-eqz p0, :cond_1

    .line 4
    move-object p0, p4

    check-cast p0, Lcom/estrongs/android/pop/app/messagebox/info/c;

    .line 5
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/messagebox/info/c;->o()Ljava/lang/String;

    move-result-object p0

    invoke-static {p0, p1}, Lcom/estrongs/android/biz/cards/cardfactory/d;->a(Ljava/lang/String;Landroid/app/Activity;)V

    goto/16 :goto_3

    .line 6
    :cond_1
    instance-of p0, p4, Lcom/estrongs/android/pop/app/messagebox/info/d;

    if-eqz p0, :cond_f

    .line 7
    move-object p0, p4

    check-cast p0, Lcom/estrongs/android/pop/app/messagebox/info/d;

    .line 8
    invoke-static {p0, p1}, Lcom/estrongs/android/biz/cards/cardfactory/d;->a(Lcom/estrongs/android/pop/app/messagebox/info/d;Landroid/app/Activity;)Z

    move-result p2

    if-eqz p2, :cond_2

    const-string p0, "InfoMessageBoxTopic"

    const-string p1, "handle market"

    .line 9
    invoke-static {p0, p1}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_3

    .line 10
    :cond_2
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/messagebox/info/d;->n()Ljava/lang/String;

    move-result-object p0

    invoke-static {p0, p1}, Lcom/estrongs/android/biz/cards/cardfactory/d;->a(Ljava/lang/String;Landroid/app/Activity;)V

    goto/16 :goto_3

    :cond_3
    :goto_0
    const-string p3, "rate"

    .line 11
    invoke-virtual {p3, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p3

    if-eqz p3, :cond_4

    .line 12
    invoke-virtual {p4}, Les/yg;->c()Ljava/lang/String;

    move-result-object p0

    invoke-static {p1, p0}, Les/sx;->b(Landroid/content/Context;Ljava/lang/String;)V

    goto/16 :goto_3

    :cond_4
    const-string p3, "share"

    .line 13
    invoke-virtual {p3, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p3

    if-eqz p3, :cond_5

    goto/16 :goto_3

    :cond_5
    const-string p3, "adunlock"

    .line 14
    invoke-virtual {p3, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p3

    if-eqz p3, :cond_7

    const-string p2, "s03"

    .line 15
    invoke-virtual {p2, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_6

    goto :goto_1

    :cond_6
    const-string p2, "s05"

    .line 16
    invoke-virtual {p2, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    .line 17
    :goto_1
    move-object p0, p4

    check-cast p0, Les/xg;

    invoke-virtual {p0}, Les/xg;->k()Ljava/lang/String;

    move-result-object p0

    .line 18
    new-instance p2, Lcom/estrongs/android/pop/app/unlock/h$b;

    invoke-direct {p2}, Lcom/estrongs/android/pop/app/unlock/h$b;-><init>()V

    .line 19
    invoke-virtual {p4}, Les/yg;->c()Ljava/lang/String;

    move-result-object p3

    invoke-static {p3}, Lcom/estrongs/android/biz/cards/cardfactory/d;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p3

    .line 20
    invoke-virtual {p2, p1}, Lcom/estrongs/android/pop/app/unlock/h$b;->a(Landroid/content/Context;)Lcom/estrongs/android/pop/app/unlock/h$b;

    const/4 p1, 0x4

    .line 21
    invoke-virtual {p2, p1}, Lcom/estrongs/android/pop/app/unlock/h$b;->c(I)Lcom/estrongs/android/pop/app/unlock/h$b;

    .line 22
    invoke-virtual {p2, p0}, Lcom/estrongs/android/pop/app/unlock/h$b;->a(Ljava/lang/String;)Lcom/estrongs/android/pop/app/unlock/h$b;

    new-array p1, v0, [Ljava/lang/String;

    const/4 p5, 0x0

    aput-object p3, p1, p5

    const/4 p5, 0x1

    aput-object p0, p1, p5

    .line 23
    invoke-static {p1}, Lcom/estrongs/android/statistics/TraceRoute;->create([Ljava/lang/String;)Lcom/estrongs/android/statistics/TraceRoute;

    move-result-object p0

    invoke-virtual {p2, p0}, Lcom/estrongs/android/pop/app/unlock/h$b;->a(Lcom/estrongs/android/statistics/TraceRoute;)Lcom/estrongs/android/pop/app/unlock/h$b;

    .line 24
    invoke-virtual {p2, p3}, Lcom/estrongs/android/pop/app/unlock/h$b;->b(Ljava/lang/String;)Lcom/estrongs/android/pop/app/unlock/h$b;

    .line 25
    invoke-static {}, Lcom/estrongs/android/pop/app/unlock/h;->d()Lcom/estrongs/android/pop/app/unlock/h;

    move-result-object p0

    invoke-virtual {p0, p2}, Lcom/estrongs/android/pop/app/unlock/h;->a(Lcom/estrongs/android/pop/app/unlock/h$b;)Ljava/lang/Object;

    goto/16 :goto_3

    :cond_7
    const-string p3, "permission"

    .line 26
    invoke-virtual {p3, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p3

    if-eqz p3, :cond_8

    goto :goto_3

    :cond_8
    const-string p3, "recommend"

    .line 27
    invoke-virtual {p3, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p3

    if-eqz p3, :cond_9

    .line 28
    invoke-static {p1, p4}, Lcom/estrongs/android/biz/cards/cardfactory/k;->a(Landroid/app/Activity;Les/yg;)V

    goto :goto_3

    :cond_9
    const-string p3, "function"

    .line 29
    invoke-virtual {p3, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p3

    if-nez p3, :cond_e

    const-string p3, "subscribe"

    .line 30
    invoke-virtual {p3, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p3

    if-eqz p3, :cond_a

    goto :goto_2

    :cond_a
    const-string p3, "tip"

    .line 31
    invoke-virtual {p3, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p3

    if-eqz p3, :cond_c

    const-string p3, "s06"

    .line 32
    invoke-virtual {p3, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_b

    goto :goto_3

    .line 33
    :cond_b
    invoke-static {p5}, Lcom/estrongs/android/biz/cards/cardfactory/e;->f(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_f

    .line 34
    invoke-static {p1, p4, p2}, Lcom/estrongs/android/biz/cards/cardfactory/d;->a(Landroid/app/Activity;Les/yg;Landroid/view/View;)V

    goto :goto_3

    :cond_c
    const-string p3, "topic"

    .line 35
    invoke-virtual {p3, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p3

    if-eqz p3, :cond_d

    .line 36
    invoke-static {p5}, Lcom/estrongs/android/biz/cards/cardfactory/e;->f(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_f

    .line 37
    invoke-static {p1, p4, p2}, Lcom/estrongs/android/biz/cards/cardfactory/d;->a(Landroid/app/Activity;Les/yg;Landroid/view/View;)V

    goto :goto_3

    :cond_d
    const-string p2, "web"

    .line 38
    invoke-virtual {p2, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_f

    .line 39
    move-object p0, p4

    check-cast p0, Les/gh;

    invoke-virtual {p0}, Les/zg;->j()Ljava/lang/String;

    move-result-object p0

    .line 40
    invoke-static {p0, p1}, Lcom/estrongs/android/biz/cards/cardfactory/d;->b(Ljava/lang/String;Landroid/app/Activity;)V

    goto :goto_3

    .line 41
    :cond_e
    :goto_2
    move-object p0, p4

    check-cast p0, Les/zg;

    invoke-virtual {p0}, Les/zg;->j()Ljava/lang/String;

    move-result-object p0

    .line 42
    invoke-static {p0, p1}, Lcom/estrongs/android/biz/cards/cardfactory/d;->a(Ljava/lang/String;Landroid/app/Activity;)V

    :cond_f
    :goto_3
    const-string p0, "click"

    .line 43
    invoke-static {p4, p0}, Lcom/estrongs/android/statistics/c;->a(Les/yg;Ljava/lang/String;)V

    return-void
.end method

.method private static a(Ljava/lang/String;Landroid/app/Activity;)V
    .locals 2

    .line 44
    invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, " "

    const-string v1, ""

    .line 45
    invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object p0

    .line 46
    invoke-static {p0, p1}, Les/gj;->a(Ljava/lang/String;Landroid/content/Context;)V

    :cond_0
    return-void
.end method

.method private static a(Lcom/estrongs/android/pop/app/messagebox/info/d;Landroid/app/Activity;)Z
    .locals 3

    .line 47
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/messagebox/info/d;->o()Ljava/lang/String;

    move-result-object v0

    .line 48
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/messagebox/info/d;->q()Ljava/lang/String;

    move-result-object v1

    .line 49
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/messagebox/info/d;->p()I

    move-result p0

    .line 50
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_0

    goto :goto_0

    .line 51
    :cond_0
    invoke-static {p1, v1, v0, p0}, Lcom/estrongs/android/biz/cards/cardfactory/k;->a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;I)V

    const/4 p0, 0x1

    return p0

    :cond_1
    :goto_0
    const/4 p0, 0x0

    return p0
.end method

.method private static b(Ljava/lang/String;Landroid/app/Activity;)V
    .locals 2

    .line 1
    invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, " "

    const-string v1, ""

    .line 2
    invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object p0

    .line 3
    invoke-static {p1, p0}, Lcom/estrongs/android/pop/utils/k;->b(Landroid/content/Context;Ljava/lang/String;)V

    :cond_0
    return-void
.end method
